<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-comment">-- | Magic 'PackageName's.</span><span>
</span><span id="line-2"></span><span class="hs-comment">--</span><span>
</span><span id="line-3"></span><span class="hs-comment">-- @since 3.0.0.0</span><span>
</span><span id="line-4"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">Distribution.Types.PackageName.Magic</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-5"></span><span>
</span><span id="line-6"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Types.PackageId.html"><span class="hs-identifier">Distribution.Types.PackageId</span></a></span><span>
</span><span id="line-7"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Types.PackageName.html"><span class="hs-identifier">Distribution.Types.PackageName</span></a></span><span>
</span><span id="line-8"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Types.Version.html"><span class="hs-identifier">Distribution.Types.Version</span></a></span><span>
</span><span id="line-9"></span><span>
</span><span id="line-10"></span><span class="hs-comment">-- | Used as a placeholder in &quot;Distribution.Backpack.ReadyComponent&quot;</span><span>
</span><span id="line-11"></span><span class="annot"><a href="Distribution.Types.PackageName.Magic.html#nonExistentPackageThisIsCabalBug"><span class="hs-identifier hs-type">nonExistentPackageThisIsCabalBug</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Distribution.Types.PackageName.html#PackageName"><span class="hs-identifier hs-type">PackageName</span></a></span><span>
</span><span id="line-12"></span><span id="nonExistentPackageThisIsCabalBug"><span class="annot"><span class="annottext">nonExistentPackageThisIsCabalBug :: PackageName
</span><a href="Distribution.Types.PackageName.Magic.html#nonExistentPackageThisIsCabalBug"><span class="hs-identifier hs-var hs-var">nonExistentPackageThisIsCabalBug</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; PackageName
</span><a href="Distribution.Types.PackageName.html#mkPackageName"><span class="hs-identifier hs-var">mkPackageName</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;nonexistent-package-this-is-a-cabal-bug&quot;</span></span><span>
</span><span id="line-13"></span><span>
</span><span id="line-14"></span><span class="hs-comment">-- | Used by @cabal new-repl@ and @cabal new-run@</span><span>
</span><span id="line-15"></span><span class="annot"><a href="Distribution.Types.PackageName.Magic.html#fakePackageName"><span class="hs-identifier hs-type">fakePackageName</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Distribution.Types.PackageName.html#PackageName"><span class="hs-identifier hs-type">PackageName</span></a></span><span>
</span><span id="line-16"></span><span id="fakePackageName"><span class="annot"><span class="annottext">fakePackageName :: PackageName
</span><a href="Distribution.Types.PackageName.Magic.html#fakePackageName"><span class="hs-identifier hs-var hs-var">fakePackageName</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; PackageName
</span><a href="Distribution.Types.PackageName.html#mkPackageName"><span class="hs-identifier hs-var">mkPackageName</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;fake-package&quot;</span></span><span>
</span><span id="line-17"></span><span>
</span><span id="line-18"></span><span class="hs-comment">-- | 'fakePackageName' with 'version0'.</span><span>
</span><span id="line-19"></span><span class="annot"><a href="Distribution.Types.PackageName.Magic.html#fakePackageId"><span class="hs-identifier hs-type">fakePackageId</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Distribution.Types.PackageId.html#PackageId"><span class="hs-identifier hs-type">PackageId</span></a></span><span>
</span><span id="line-20"></span><span id="fakePackageId"><span class="annot"><span class="annottext">fakePackageId :: PackageId
</span><a href="Distribution.Types.PackageName.Magic.html#fakePackageId"><span class="hs-identifier hs-var hs-var">fakePackageId</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">PackageName -&gt; Version -&gt; PackageId
</span><a href="Distribution.Types.PackageId.html#PackageIdentifier"><span class="hs-identifier hs-var">PackageIdentifier</span></a></span><span> </span><span class="annot"><span class="annottext">PackageName
</span><a href="Distribution.Types.PackageName.Magic.html#fakePackageName"><span class="hs-identifier hs-var">fakePackageName</span></a></span><span> </span><span class="annot"><span class="annottext">Version
</span><a href="Distribution.Types.Version.html#version0"><span class="hs-identifier hs-var">version0</span></a></span><span>
</span><span id="line-21"></span></pre></body></html>